@@ -2,4 +2,5 @@ APP_SECRET_TOKEN=REPLACE_ME_NOW! |
||
| 2 | 2 |
DOMAIN=localhost:3000 |
| 3 | 3 |
GOOGLE_APPS_DOMAIN=your-domain-here.com |
| 4 | 4 |
GMAIL_USERNAME=you@gmail.com |
| 5 |
-GMAIL_PASSWORD=somepassword |
|
| 5 |
+GMAIL_PASSWORD=somepassword |
|
| 6 |
+EMAIL_FROM_ADDRESS=from_address@gmail.com |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 |
class SystemMailer < ActionMailer::Base |
| 2 |
- default from: ENV['GMAIL_USERNAME'] |
|
| 2 |
+ default from: ENV['EMAIL_FROM_ADDRESS'] |
|
| 3 | 3 |
|
| 4 | 4 |
def send_message(options) |
| 5 | 5 |
@lines = options[:lines] |